Skip to content

build: upgrade langchain to 1.x - #1742

Open
toabctl wants to merge 1 commit into
pinterest:masterfrom
toabctl:langchain-1
Open

toabctl wants to merge 1 commit into
pinterest:masterfrom
toabctl:langchain-1

Conversation

@toabctl

@toabctl toabctl commented Nov 10, 2026

Copy link
Copy Markdown

langchain 1.x no longer re-exports langchain.prompts, langchain.docstore, langchain.embeddings and langchain.vectorstores. Import from langchain_core instead, and bump langchain to 1.3.9 and langchain-openai to 1.1.14.

Supersedes #1719 and #1699, whose Python tests fail without the import changes.

Testing

  • make test passes

langchain 1.x no longer re-exports the prompts, docstore, embeddings
and vectorstores modules. Import them from langchain_core instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant